1. /* sioshftl.cpp by K.Tsuru */
  2. // function ID = 412 BRADIX
  3. /**************************************************
  4. SInteger class
  5. It provides the bit shift operation to the left,ie
  6. multiplies by 2^n.
  7. **************************************************/
  8. #ifndef SN_H
  9. #include "sn.h"
  10. #endif
  11. SInteger operator<<(const SInteger& m, ulong n){
  12. if(!n || (m.Sign(412) == 0)) return m;
  13. SInteger result(m);
  14. result.BitShift((long)n);
  15. return result;
  16. }

sioshftl.cpp : last modifiled at 2015/12/14 16:24:55(457 bytes)
created at 2016/04/25 14:53:17
The creation time of this html file is 2017/10/25 11:09:45 (Wed Oct 25 11:09:45 2017).